package com.vhall.component.controller.tag;

import com.vhall.component.controller.tag.facade.TagInnerFacade;
import com.vhall.component.entity.inav.vo.TagVO;
import com.vhall.component.entity.tag.vo.TagInfoVO;
import com.vhall.component.framework.common.annotation.VhallComponent;
import com.vhall.component.service.tag.TagService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;
import java.util.Map;

/**
 * @author guoxin.wang
 * @date 2021/7/5 10:35
 */
@VhallComponent
public class TagInnerController implements TagInnerFacade {

    @Autowired
    private TagService tagService;

    @Override
    public Map<Integer, String> tagsInfo(TagInfoVO reqVO) {
        return tagService.tagsInfo(reqVO);
    }

    @Override
    public List<TagVO> tagList(String tagIds) {
        return tagService.listByIds(tagIds);
    }


}
